package com.nkdx.ws.service;

import com.nkdx.ws.dto.MeteorologicalDataDto;
import com.nkdx.ws.eto.MeteorologicalDataEto;

import java.util.List;

public interface MeteorologicalDataService {

    public MeteorologicalDataEto insert(MeteorologicalDataEto eto);
    public MeteorologicalDataEto release(MeteorologicalDataEto eto);

    MeteorologicalDataEto findById(Integer id);

    MeteorologicalDataEto update(MeteorologicalDataEto eto);

    List<MeteorologicalDataDto> findAll();

    void invalidById(Integer id);

    List<MeteorologicalDataDto> findAllByCity();
}
